import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DraggableBoxComponent } from './draggable-box/draggable-box.component';
import { BoxComponent } from './draggable-box/box.component';
import { DndModule } from '@ng-dnd/core';

const COMPONENTS = [
  DraggableBoxComponent,
  BoxComponent
]

@NgModule({
  declarations: [...COMPONENTS],
  imports: [
    CommonModule,
    DndModule
  ],
  exports: [
    ...COMPONENTS
  ]
})
export class DraggableModule { }
